package com.management.controller.form;


import lombok.Data;

import javax.validation.constraints.Pattern;

@Data
public class ChangeAccountForm {
    private Integer accountId;
    private String accountName;
    private String accountLoginid;
    @Pattern(regexp = "^1[3456789]\\d{9}$",message = "手机号格式不正确")
    private String accountTel;
    @Pattern(regexp = "[1-9]\\d{4,10}@qq\\.com",message = "邮箱格式不正确")
    private String accountEmail;

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccountLoginid() {
        return accountLoginid;
    }

    public void setAccountLoginid(String accountLoginid) {
        this.accountLoginid = accountLoginid;
    }

    public String getAccoungtTel() {
        return accountTel;
    }

    public void setAccoungtTel(String accoungtTel) {
        this.accountTel = accoungtTel;
    }

    public String getAccountEmail() {
        return accountEmail;
    }

    public void setAccountEmail(String accountEmail) {
        this.accountEmail = accountEmail;
    }
}
